<template>
  <switch :color="props.color??'var(--color-primary)'"></switch>
</template>
<script setup>
import { Switch } from '@tarojs/components';

const props = defineProps({
  color: String
});
</script>
